#ifndef TABTENN1_H
#define TABTENN1_H
;
class TableTennisPlayer_1
{
private:
	enum{LIM=20};
	char firstname[LIM];
	char lastname[LIM];
	bool hasTable;
public:
	TableTennisPlayer_1(const char *fn="none",const char *ln="none",bool ht=false);
	void Name()const;
	bool HasTable()const{ return hasTable;}
	void ResetTable(bool v){hasTable = v;}
};

class RatedPlayer_1:public TableTennisPlayer_1
{
private:
	unsigned int rating;
public :
	RatedPlayer_1(unsigned int r=0,const char* fn="none",
		const char *ln="none",bool ht = false);
	RatedPlayer_1(const TableTennisPlayer_1 &tp,unsigned int r=0 );
	unsigned int Rating(){return rating;}
	void ResetRating(unsigned int r){rating = r;}
};
#endif

